package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 入库单详情
 *
 * @author hbq
 * @date 2021-04-01 17:36:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_receive_doc_detail")
public class SmsReceiveDocDetail extends SuperEntity {
    private static final long serialVersionUID=1L;
        @Excel(name = "入库单号")
        @ApiModelProperty(value = "入库单号")
        private String docNo;
        @Excel(name = "采购单号")
        @ApiModelProperty(value = "采购单号")
        private String poNo;
        @Excel(name = "物料代码")
        @ApiModelProperty(value = "物料代码")
        private String itemCode;
        @Excel(name = "物料名称")
        @ApiModelProperty(value = "物料名称")
        private String itemName;
        @Excel(name = "计划数量")
        @ApiModelProperty(value = "计划数量")
        private Long planQty;
        @Excel(name = "免检标识（0，不免检 1，免检）",replace ={"否_false","是_true"})
        @ApiModelProperty(value = "免检标识（0，不免检 1，免检）")
        private Boolean isExemptCheck;
        @Excel(name = "实收数量")
        @ApiModelProperty(value = "实收数量")
        private Long realQty;
        @Excel(name = "MSL等级")
        @ApiModelProperty(value = "湿敏等级")
        private String msdCode;
        @Excel(name = "批次")
        @ApiModelProperty(value = "批次")
        private String batch;
        @Excel(name = "制造商生产日期")
        @ApiModelProperty(value = "制造商生产日期")
        private String pdate;
        @Excel(name = "检验数量")
        @ApiModelProperty(value = "检验数量")
        private Long checkQty;
        @Excel(name = "质检状态（1，免检 2，待检 3，检验合格 4，检验不合格）")
        @ApiModelProperty(value = "质检状态（1，免检 2，待检 3，检验合格 4，检验不合格）")
        private Integer checkState;
        @Excel(name = "检验时间",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "检验时间")
        private Date checkTime;
        @Excel(name = "检验员")
        @ApiModelProperty(value = "检验员")
        private String checkName;
        @Excel(name = "检验备注")
        @ApiModelProperty(value = "检验备注")
        private String checkRemark;
        @Excel(name = "备注")
        @ApiModelProperty(value = "备注")
        private String remark;
}
